#ifndef __BORROW_SERVICE__HH__
#define __BORROW_SERVICE__HH__ 

//书籍借阅功能接口层 Borrow_service （抽象类）
namespace LB
{
	class Borrow_service
	{
	public:
	virtual bool loginsuccess(int user_id,char* password) = 0;
       virtual void topborrowbook(void) = 0;
       virtual void toppraisebook(void) = 0;
       virtual bool findbook(int bookid) = 0;
       virtual bool findbook(char* bookname) = 0;
       virtual bool findkeyword(char* keyword) = 0;
       virtual void scorebook(int bookid,int score,char* comment) = 0;
       virtual void listclass(void) = 0;
       virtual void listbook(int classid) =0;
       virtual void listmymsg(void) = 0;
       virtual ~Borrow_service() { }
		
	};
}

#endif